package com.yksj.healthtalk.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 各种馆 图片实体
 * @author crj
 *
 */
public class MyZoneImageEntity implements Parcelable{

	private String imageId;
	private String imagePath;
	
	public String getImageId() {
		return imageId;
	}

	public void setImageId(String imageId) {
		this.imageId = imageId;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(imageId);
		dest.writeString(imagePath);
	}

	public static final Creator<MyZoneImageEntity> CREATOR = new Creator<MyZoneImageEntity>() {

		@Override
		public MyZoneImageEntity createFromParcel(Parcel source) {
			MyZoneImageEntity entity = new MyZoneImageEntity();
			entity.setImageId(source.readString());
			entity.setImagePath(source.readString());
			return entity;
		}

		@Override
		public MyZoneImageEntity[] newArray(int size) {
			// TODO Auto-generated method stub
			return null;
		}
	};
	
}
